

import numpy as np
def center(num1,num2):
    num3 = num1 + num2
    num3.sort()

    print(np.median(num3))
num1 = [1,3]
num2 = [2]

center(num1,num2)